package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 客户基本信息对象 yt_customer_msg
 * 
 * @author magichaohao
 * @date 2021-05-10
 */
public class YtCustomerMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户id */
    private Long customerId;

    /** 客户名字 */
    @Excel(name = "客户名字")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bank;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    /** 创建时间 */
    private Date creation;

    /** 移除时间 */
    private Date remove;

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setCreation(Date creation) 
    {
        this.creation = creation;
    }

    public Date getCreation() 
    {
        return creation;
    }
    public void setRemove(Date remove) 
    {
        this.remove = remove;
    }

    public Date getRemove() 
    {
        return remove;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("idCard", getIdCard())
            .append("bank", getBank())
            .append("bankAccount", getBankAccount())
            .append("creation", getCreation())
            .append("remove", getRemove())
            .toString();
    }
}
